﻿using BJoin.Application.BObject;
using BJoin.Application.Dto;
using BJoin.Application.Entity;
using BJoin.Application.IManager;
using BJoin.DemoProject.Dtos;
using BJoin.DemoProject.Entities;
using BJoin.DemoProject.ExtObject;
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace BJoin.DemoProject.Manager
{
    public interface IFileManager: IPocoManager<FileDto, FileEntity, long, FileExtObject>
    {
        Task<FileDto> GetFileWithFormatDesc(long id);
        Task<IList<string>> UploadAsync(IList<IFormFile> files);
        Task<(string, byte[])> DownloadAsync(long id);
    }
}
